﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Back.Xinkui.Entity.Advert;
using Back.Xinkui.DataAccess.Advert;
using CommonFramework.Utility;
using Back.Xinkui.WebModel;

public partial class advert_advertView : AdvertAspxBase
{
    private int id
    {
        get { return WebHelper.GetQueryStringValue<int>("ID", 0); }
    }
    protected AdvertEntity advertise = new AdvertEntity();
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            BindData();
        }
    }
    private void BindData()
    {
        advertise = AdvertDataAccess.GetAdvertByID(id);
    }
}